package com.smallA.utils;

import org.springframework.stereotype.Component;

/**
 * 判断是否是空
 * @author leon
 * @date 2021/4/11
 */
@Component
public class StringUtil {
    public static boolean isEmpty(String str){
        return str==null||"".equals(str.trim());
    }
}